package com.xc.erp.modules.erp.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xc.erp.modules.erp.domain.dto.DepotParam;
import com.xc.erp.modules.erp.domain.pojo.JshDepot;

import java.util.List;

/**
 * @author Administrator
 * @description 针对表【jsh_depot(仓库表)】的数据库操作Service
 * @createDate 2022-12-10 09:31:41
 */
public interface JshDepotService extends IService<JshDepot> {

    List<JshDepot> depotList() ;

    boolean checkIsNameExist(String name);

    boolean updateStatus(String ids[], boolean status);

    boolean delete(String ids[]);

    boolean add(JshDepot jshDepot);


    boolean defaultUpdateDepot(long id, boolean isDefault);

    IPage<JshDepot> listPage(Integer page, Integer limit, DepotParam depotParam);

}
